package com.cskaoyan.mapper;

import com.cskaoyan.bean.Teacher;

public interface TeacherMapper {

    // 根据id查询teacher
    Teacher selectTeacherById(Integer id);

    // 增
    int insertTeacher(Teacher teacher);


    // 删
    int deleteTeacherById(Integer id);

    // 改
    int updateTeacherNameAndNicknameById(Teacher teacher);


    // 通过id查询名字
    String selectNameById(Integer id);
}
